package com.carl;

import com.carl.bean.User;
import com.carl.mapper.UserMapper;
import com.carl.session.RealSqlSession;

public class TestUser {

     public static void main(String[] args) {
         RealSqlSession realSqlSession = new RealSqlSession();
         UserMapper userMapper = realSqlSession.getMapper(UserMapper.class);
         User user = userMapper.getUserById("1");
         System.out.println(user);

     }

}
